package me.mingshan.algorithm.binary;

/**
 * 十进制
 *
 * @author hanjuntao
 * @date 2025/5/29 0029
 */
public class A {

    public static void main(String[] args) {
        getBit(1223);
        getBit(322);
    }

    public static void getBit(int num) {
        while (num > 0) {
            int i  = num % 10;
            System.out.println(i);
            num  = num / 10;
        }
    }
}
